package com.bp.hearthealth.pulse.lnapps.bp_di

import com.bp.hearthealth.pulse.lnapps.bp_db.bp_project.BpDataBaseManager
import com.bp.hearthealth.pulse.lnapps.bp_ui.bp_fragment.bp_tracker.blood_pressure.BloodPressureRepository
import com.bp.hearthealth.pulse.lnapps.bp_ui.bp_fragment.bp_tracker.blood_pressure.BloodPressureViewModel
import org.koin.androidx.viewmodel.dsl.viewModel
import org.koin.dsl.module

val blLibe = module {
    single {
        BloodPressureRepository(BpDataBaseManager.getInstance().getBloodPressure())
    }
    viewModel { BloodPressureViewModel(get()) }
}